package com.itsc.entities;

import java.util.Date;
import java.util.Set;

public class User {

	private Integer user_id;		
	private String user_name;	
	private String user_pwd;		
	private String user_email;		
	private String user_department; 
	private String user_sex;		
	private String user_addr;
	private String user_phone;		
	private Date user_regtime;		
	private Integer user_level;		
	private Integer user_scose;		
	private Integer user_login;
	
	private String user_sortphone;	
	private Set<Repair> repairSet;
	
	private Set<Role> roleSet; 		
	
	//一个用户有多个订单，一对多
	private Set<Order> orderSet;
	
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getUser_pwd() {
		return user_pwd;
	}
	public void setUser_pwd(String user_pwd) {
		this.user_pwd = user_pwd;
	}
	public String getUser_email() {
		return user_email;
	}
	public void setUser_email(String user_email) {
		this.user_email = user_email;
	}
	public String getUser_department() {
		return user_department;
	}
	public void setUser_department(String user_department) {
		this.user_department = user_department;
	}
	public String getUser_addr() {
		return user_addr;
	}
	public void setUser_addr(String user_addr) {
		this.user_addr = user_addr;
	}
	public String getUser_phone() {
		return user_phone;
	}
	public void setUser_phone(String user_phone) {
		this.user_phone = user_phone;
	}
	public Date getUser_regtime() {
		return user_regtime;
	}
	public void setUser_regtime(Date user_regtime) {
		this.user_regtime = user_regtime;
	}
	public Integer getUser_level() {
		return user_level;
	}
	public void setUser_level(Integer user_level) {
		this.user_level = user_level;
	}
	public Integer getUser_scose() {
		return user_scose;
	}
	public void setUser_scose(Integer user_scose) {
		this.user_scose = user_scose;
	}
	public Set<Role> getRoleSet() {
		return roleSet;
	}
	public void setRoleSet(Set<Role> roleSet) {
		this.roleSet = roleSet;
	}
	public String getUser_sex() {
		return user_sex;
	}
	public void setUser_sex(String user_sex) {
		this.user_sex = user_sex;
	}
	public String getUser_sortphone() {
		return user_sortphone;
	}
	public void setUser_sortphone(String user_sortphone) {
		this.user_sortphone = user_sortphone;
	}
	public Set<Repair> getRepairSet() {
		return repairSet;
	}
	public void setRepairSet(Set<Repair> repairSet) {
		this.repairSet = repairSet;
	}
	public Set<Order> getOrderSet() {
		return orderSet;
	}
	public void setOrderSet(Set<Order> orderSet) {
		this.orderSet = orderSet;
	}
	public Integer getUser_login() {
		return user_login;
	}
	public void setUser_login(Integer user_login) {
		this.user_login = user_login;
	}
	
	
}
